package com.woniuxy.exception.orderException;

public enum OrderExceptionCode {


    ORDER_CREATE_FAIL(5060,"创建订单失败,请稍后再试"),
    ORDER_NOT_EXIST(5061,"订单不存在"),
    ORDER_NOT_PAY(5062,"该订单不能支付"),
    ORDER_NOT_CANCEL(5063,"订单已完成，不能取消");



    Integer code;
    String message;

    OrderExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
